<!-- 检测值模态框 -->
<div class="modal-header">
    <h4 class="modal-title" translate="{{vm.title}}"></h4>
</div>
<div class="modal-body">
    <ng-form class="form-horizontal form-validation">
        <div class="panel-body">
            <div class="form-group ">
                <div class="col-md-6">
                    <label class="col-md-3 control-label">
                        <span class="text-danger">*</span>
                        <span translate="nav.tables.attribute1"/>
                    </label>
                    <div class="col-md-8">
                        <input type="text" name="name" class="form-control" name="attribute1"
                               id="attribute1" ng-model="vm.demo.attribute1" maxlength="32" required
                               ng-disabled = "vm.isDetail"
                               placeholder="{{'nav.tables.attribute1' | translate}}"
                               uib-tooltip="{{'common.op.remind2' | translate}}" />
                    </div>
                </div>
                <div class="col-md-6">
                    <label class="col-md-3 control-label">
                        <span class="text-danger">*</span>
                        <span translate="nav.tables.attribute2"/>
                    </label>
                    <div class="col-md-8">
                        <input type="text" name="name" class="form-control" name="attribute2"
                               id="attribute2" ng-model="vm.demo.attribute2" maxlength="32" required
                               ng-disabled = "vm.isDetail"
                               placeholder="{{'nav.tables.attribute2' | translate}}"
                               uib-tooltip="{{'common.op.remind2' | translate}}" />
                    </div>
                </div>

            </div>
            <div class="form-group ">
                <div class="col-md-6">
                    <label class="col-md-3 control-label">
                        <span class="text-danger">*</span>
                        <span translate="nav.tables.attribute3"/>
                    </label>
                    <div class="col-md-8">
                        <input type="text" name="name" class="form-control" name="attribute3"
                               id="attribute3" ng-model="vm.demo.attribute3" maxlength="32" required
                               ng-disabled = "vm.isDetail"
                               placeholder="{{'nav.tables.attribute3' | translate}}"
                               uib-tooltip="{{'common.op.remind2' | translate}}" />
                    </div>
                </div>
                <div class="col-md-6">
                    <label class="col-md-3 control-label">
                        <span class="text-danger">*</span>
                        <span translate="nav.tables.attribute4"/>
                    </label>
                    <div class="col-md-8">
                        <input type="text" name="name" class="form-control" name="attribute4"
                               id="attribute4" ng-model="vm.demo.attribute4" maxlength="32" required
                               ng-disabled = "vm.isDetail"
                               placeholder="{{'nav.tables.attribute4' | translate}}"
                               uib-tooltip="{{'common.op.remind2' | translate}}" />
                    </div>
                </div>

            </div>

        </div>
    </ng-form>
    <div class="panel-footer text-right bg-light lter">
        <button type="button" class="btn btn-default" ng-click="vm.cancel()"
                translate="common.cancel"></button>
        <button type="button" class="btn btn-primary" ng-click="vm.save()"
                translate="common.confirm"></button>
    </div>
</div>
